<{include file="Public/top.html" }>
</head>
<body>
<div id="warpper">
    <div class="content">
        <div class="location">商户管理</div>
        <{include file="Business/nav.html"}>
        <div class="filedSet" style="padding-bottom: 0;">
            <div class="search">
                <form action="" class="ui-form reportForm">
                    <div class="ui-form-item inline-block">
                        <label class="ui-label">关键字</label>
                        <input type="text" class="ui-text bg-text keyword" placeholder="商户／门店／核销员" />
                    </div>
                    <div class="ui-form-item inline-block">
                        <button type="button" class="ui-button">查询</button>
                    </div>
                </form>
            </div>
        </div>
        <!--表头-->
        <table class="ui-table ui-head">
            <thead>
            <tr>
                <th class="pct20">商户名</th>
                <th class="pct20">门店名</th>
                <th class="pct10">核销员</th>
                <th class="pct10">核销工号</th>
                <th class="pct10">手机号</th>
                <th class="pct10">核销数量</th>
                <th class="pct20 last-col">操作</th>
            </tr>
            </thead>
        </table>
        <!--表格内容-->
        <div class="mainGrid">
            <table class="ui-table ui-body">
                <thead>
                <tr>
                    <th class="pct20"></th>
                    <th class="pct20"></th>
                    <th class="pct10"></th>
                    <th class="pct10"></th>
                    <th class="pct10"></th>
                    <th class="pct10"></th>
                    <th class="pct20 last-col"></th>
                </tr>
                </thead>
                <tbody>

                <{foreach from = $list item=item}>
                    <tr>
                        <td><{$item.restaurantName}></td>
                        <td><{$item.storeName}></td>
                        <td><{$item.verificationName}></td>
                        <td><{$item.jobNum}></td>
                        <td><{$item.phone}></td>
                        <td><{$item.verifyNum}></td>
                        <td class="ta_l">
                            <div class="handler">
                                <a href="<{u('verificationEdit/?id='|cat:$item['id'])}>">修改信息</a>
                                <span class="sep">|</span>

                                <a href="javascript:void(0);">核销记录</a>
                                <span class="sep">|</span>

                                <{if $item.status == $smarty.const.ENABLE_ENABLE}>
                                    <a href="<{u('verificationUpdate/?id='|cat:$item['id'])}>" onclick="if(!confirm('确定不启用该核销员么？'))return false;">启用</a>
                                <{else}>
                                    <a href="<{u('verificationUpdate/?id='|cat:$item['id'])}>" onclick="if(!confirm('确定不启用该核销员么？'))return false;">未启用</a>
                                <{/if}>
                            </div>
                        </td>
                    </tr>
                <{/foreach}>
                </tbody>
            </table>
        </div>
        <!--描述：分页-->
        <div class="pagination">
            <{include file ="Public/page.html"}>
        </div>
    </div>
</div>
</body>
<{include file="Public/foot.html" }>